import 'package:flutter/material.dart';

class LoadingWidget extends StatelessWidget {
  const LoadingWidget({super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      height: double.infinity,
      width: double.infinity,
      alignment: Alignment.center,
      child: Container(
          height: 110,
          padding: const EdgeInsets.fromLTRB(0, 20, 0, 20),
          width: 120,
          alignment: Alignment.center,
          decoration: BoxDecoration(
            color: Colors.black.withOpacity(0.5),
            borderRadius: BorderRadius.circular(10),
          ),
          child: Column(
            children: [
              const CircularProgressIndicator(
                color: Colors.white,
              ),
              // SizedBox(height: 10.0),
              // Text(
              //   text!,
              //   style: const TextStyle(
              //     color: Colors.white,
              //     fontSize: 16,
              //     decoration: TextDecoration.none,
              //   ),
              // ),
            ],
          )),
    );
  }
}
